﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DuMez.BL
{
    public class Parameters
    {
        public static string GetConnection()
        {
            if (!string.IsNullOrEmpty(System.Configuration.ConfigurationManager.AppSettings["dbDuMez"].ToString()))
                return System.Configuration.ConfigurationManager.AppSettings["dbDuMez"].ToString();

            else
                return "";
        }

        public static string SmtpServer()
        {
            if (!string.IsNullOrEmpty(System.Configuration.ConfigurationManager.AppSettings["SmtpServer"].ToString()))
                return System.Configuration.ConfigurationManager.AppSettings["SmtpServer"].ToString();
            else
                return "";
        }
    }
}
